class @MessagesRoutes extends Backbone.Router
    routes:
        "Messages/UserListing*path":"UsersListing"
        "Messages/MessageListing*path":"MessageListing"
        "Messages/AddMessage*path":"AddMessage"
    UsersListing:(path)->
        model = new MessagesModel()
        view = new MessagesView(model:model)
    MessageListing:(path)->
        model = new MyMessageListingModel()
        model.set("SenderId",Url.GetParameterByName("SenderId"))
        view = new MyMessageListingView(model:model)
